/*
* TipoDeAlmoco.java
*
* Copyright 2011 Isabella A. G. Pessoa.
* All rights reserved.
*
* This file is part of Mandatory Arrest
*
* MandatoryArrest is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MandatoryArrest is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MandatoryArrest. If not, see <http://www.gnu.org/licenses/>.
*
* Contributors:
* Isabella Pessoa isabella.agp at gmail.com
* Michell Jacks michelljacks at gmail.com
* Monica Santana monicaasc.cc at gmail.com
*/

package br.edu.ufcg.dsc.lp2.projeto.model;

/**
 * 
 * @author Isabella Pessoa isabella.agp at gmail.com
 * Enumeracao dos tipos de almoco servidos pelos estabelecimentos.
 *
 */
public enum TipoDeAlmoco {
	SELF_SERVICE("Self-service"), 
	PRATO_FEITO("Prato feito"),
	A_LA_CARTE("A la carte");
	
	/**
	 * Ajusta  o tipo de almoco de um estabelecimento.
	 * @param tipo
	 */
	private TipoDeAlmoco(String tipo) {
		this.tipo = tipo;
	}

	/**
	 * Retorna o tipo de almoco de um estabelecimento.
	 * @return
	 */
	public String getTipo() {
		return this.tipo;
	}
	
	/*
	 * (non-Javadoc)
	 * @see java.lang.Enum#toString()
	 */
	@Override
	public String toString() {
		return this.tipo;
	}
	
	/**
	 * Tipo de almoco servido em um estabelecimento.
	 */
	private String tipo;
}